package com.zh.system.domain.dto;

import com.zh.web.base.BaseDto;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

import java.util.List;

@Data
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = true)
public class SendMsgDto extends BaseDto {

    @ApiModelProperty("消息发送方id")
    private Long from;
    @ApiModelProperty("消息体")
    private String msg;
    @ApiModelProperty("消息接收者idList")
    private List<Long> toList;
    @ApiModelProperty("消息类型从字典选择")
    private String type;
}
